CreateView(Single,Single,Action<GcGraphics,Layer>) Method
In This Topic
Creates a
View object that encapsulates a
GrapeCity.Documents.Layout.LayoutView and adds it as the top layer.
Syntax
'Declaration
Public Overloads Function CreateView( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Action(Of GcGraphics,Layer) _
) As View
public View CreateView(
System.float ,
System.float ,
System.Action<GcGraphics,Layer>
)
Parameters
- width
- The width of the associated GrapeCity.Documents.Layout.LayoutView.
- height
- The height of the associated GrapeCity.Documents.Layout.LayoutView.
- draw
- A delegate that accepts a GrapeCity.Documents.Drawing.GcGraphics object and a Layer, and draws the layer on the graphics.
See Also